<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="custom-style.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
	<div style="overflow: hidden;">
		<div style="height: 57px;min-width: 1039px;background-size: auto 100%;background:url('');">
			<img src="titleleft.png" style="float: left;"/>
			<img src="titleright.png" alt="" style="float: right;" />
		</div>
	</div>
<!-- 制作者 Doxygen 1.8.15 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>法律声明</span></a></li>
      <li><a href="_xE9_xA6_x96_xE9_xA1_xB5.html"><span>首页</span></a></li>
      <li><a href="_xE6_x9B_xB4_xE6_x96_xB0_xE8_xAE_xB0_xE5_xBD_x95.html"><span>更新记录</span></a></li>
      <li><a href="_xE7_x8E_xAF_xE5_xA2_x83_xE9_x85_x8D_xE7_xBD_xAE.html"><span>环境配置</span></a></li>
      <li><a href="_xE7_xBC_x96_xE7_xA8_x8B_xE5_xBC_x95_xE5_xAF_xBC.html"><span>编程引导</span></a></li>
      <li class="current"><a href="modules.html"><span>接口说明</span></a></li>
      <li><a href="annotated.html"><span>结构体定义</span></a></li>
      <li><a href="_xE7_x9B_xB8_xE6_x9C_xBA_xE5_x8F_x82_xE6_x95_xB0_xE8_x8A_x82_xE7_x82_xB9_xE8_xA1_xA8.html"><span>相机参数节点表</span></a></li>
      <li><a href="examples.html"><span>示例程序</span></a></li>
      <li><a href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html"><span>状态码</span></a></li>
      <li><a href="_xE5_xB8_xB8_xE8_xA7_x81_xE9_x97_xAE_xE9_xA2_x98.html"><span>常见问题</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">U3V相机</div>  </div>
</div><!--header-->
<div class="contents">

<p>仅U3V相机支持的接口  
<a href="#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:gaf9880ddfc9b0a2c4a06b058993599f51"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u3_v_xE7_x9B_xB8_xE6_x9C_xBA.html#gaf9880ddfc9b0a2c4a06b058993599f51">MV_USB_SetTransferSize</a> (IN void *handle, IN unsigned int nTransferSize)</td></tr>
<tr class="memdesc:gaf9880ddfc9b0a2c4a06b058993599f51"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置U3V的传输包大小  <a href="#gaf9880ddfc9b0a2c4a06b058993599f51">更多...</a><br /></td></tr>
<tr class="separator:gaf9880ddfc9b0a2c4a06b058993599f51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga205fd2f71841e4308942d591d8c5f4a3"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u3_v_xE7_x9B_xB8_xE6_x9C_xBA.html#ga205fd2f71841e4308942d591d8c5f4a3">MV_USB_GetTransferSize</a> (IN void *handle, IN OUT unsigned int *pnTransferSize)</td></tr>
<tr class="memdesc:ga205fd2f71841e4308942d591d8c5f4a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取U3V的传输包大小  <a href="#ga205fd2f71841e4308942d591d8c5f4a3">更多...</a><br /></td></tr>
<tr class="separator:ga205fd2f71841e4308942d591d8c5f4a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadb674609cf080d6de1c45ce08d6ee808"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u3_v_xE7_x9B_xB8_xE6_x9C_xBA.html#gadb674609cf080d6de1c45ce08d6ee808">MV_USB_SetTransferWays</a> (IN void *handle, IN unsigned int nTransferWays)</td></tr>
<tr class="memdesc:gadb674609cf080d6de1c45ce08d6ee808"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置U3V的传输通道个数  <a href="#gadb674609cf080d6de1c45ce08d6ee808">更多...</a><br /></td></tr>
<tr class="separator:gadb674609cf080d6de1c45ce08d6ee808"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaabf01d24514b206389b26665b54e0828"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u3_v_xE7_x9B_xB8_xE6_x9C_xBA.html#gaabf01d24514b206389b26665b54e0828">MV_USB_GetTransferWays</a> (IN void *handle, unsigned int *pnTransferWays)</td></tr>
<tr class="memdesc:gaabf01d24514b206389b26665b54e0828"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取U3V的传输通道个数  <a href="#gaabf01d24514b206389b26665b54e0828">更多...</a><br /></td></tr>
<tr class="separator:gaabf01d24514b206389b26665b54e0828"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1f3835e65ca878f82c084f626c228802"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u3_v_xE7_x9B_xB8_xE6_x9C_xBA.html#ga1f3835e65ca878f82c084f626c228802">MV_USB_RegisterStreamExceptionCallBack</a> (IN void *handle, IN void(__stdcall *cbException)(<a class="el" href="group___xE7_xB1_xBB_xE5_x9E_x8B_xE5_xAE_x9A_xE4_xB9_x89.html#ga869bc22df6c5656ee47d4ed0b1f9eec6">MV_CC_STREAM_EXCEPTION_TYPE</a> enExceptionType, void *pUser), IN void *pUser)</td></tr>
<tr class="memdesc:ga1f3835e65ca878f82c084f626c228802"><td class="mdescLeft">&#160;</td><td class="mdescRight">注册流异常消息回调，在打开设备之后调用（只支持U3V相机，不支持GenTL设备）  <a href="#ga1f3835e65ca878f82c084f626c228802">更多...</a><br /></td></tr>
<tr class="separator:ga1f3835e65ca878f82c084f626c228802"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga54f98a479ef686d954022805d45af167"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u3_v_xE7_x9B_xB8_xE6_x9C_xBA.html#ga54f98a479ef686d954022805d45af167">MV_USB_SetEventNodeNum</a> (IN void *handle, IN unsigned int nEventNodeNum)</td></tr>
<tr class="memdesc:ga54f98a479ef686d954022805d45af167"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置U3V的事件缓存节点个数  <a href="#ga54f98a479ef686d954022805d45af167">更多...</a><br /></td></tr>
<tr class="separator:ga54f98a479ef686d954022805d45af167"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1e182cad3106424568fb2c0d9ad10a9d"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u3_v_xE7_x9B_xB8_xE6_x9C_xBA.html#ga1e182cad3106424568fb2c0d9ad10a9d">MV_USB_SetSyncTimeOut</a> (IN void *handle, IN unsigned int nMills)</td></tr>
<tr class="memdesc:ga1e182cad3106424568fb2c0d9ad10a9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置U3V相机同步读写超时时间，范围为1000~UINT，默认1000 ms  <a href="#ga1e182cad3106424568fb2c0d9ad10a9d">更多...</a><br /></td></tr>
<tr class="separator:ga1e182cad3106424568fb2c0d9ad10a9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ea550935d6f4d779857ecf0ecd9caa7"><td class="memItemLeft" align="right" valign="top">MV_CAMCTRL_API int __stdcall&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___u3_v_xE7_x9B_xB8_xE6_x9C_xBA.html#ga1ea550935d6f4d779857ecf0ecd9caa7">MV_USB_GetSyncTimeOut</a> (IN void *handle, IN OUT unsigned int *pnMills)</td></tr>
<tr class="memdesc:ga1ea550935d6f4d779857ecf0ecd9caa7"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取U3V相机同步读写超时时间  <a href="#ga1ea550935d6f4d779857ecf0ecd9caa7">更多...</a><br /></td></tr>
<tr class="separator:ga1ea550935d6f4d779857ecf0ecd9caa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<p>仅U3V相机支持的接口 </p>
<h2 class="groupheader">函数说明</h2>
<a id="gaf9880ddfc9b0a2c4a06b058993599f51"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf9880ddfc9b0a2c4a06b058993599f51">&#9670;&nbsp;</a></span>MV_USB_SetTransferSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_USB_SetTransferSize </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nTransferSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置U3V的传输包大小 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">nTransferSize</td><td>[IN] 传输的包大小，Byte，默认为1M，rang：&gt;=0x400，建议最大值：[windows] rang &lt;= 0x400000；[Linux] rang &lt;= 0x200000 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>增加传输包大小可以适当降低取流时的CPU占用率。但不同的PC和不同USB扩展卡存在不同的兼容性，如果该参数设置过大可能会出现取不到图像的风险。 </dd></dl>

</div>
</div>
<a id="ga205fd2f71841e4308942d591d8c5f4a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga205fd2f71841e4308942d591d8c5f4a3">&#9670;&nbsp;</a></span>MV_USB_GetTransferSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_USB_GetTransferSize </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN OUT unsigned int *&#160;</td>
          <td class="paramname"><em>pnTransferSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取U3V的传输包大小 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">pnTransferSize</td><td>[IN][OUT] 传输的包大小指针，Byte </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口用于获取当前的U3V传输包大小，默认1M。 </dd></dl>

</div>
</div>
<a id="gadb674609cf080d6de1c45ce08d6ee808"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadb674609cf080d6de1c45ce08d6ee808">&#9670;&nbsp;</a></span>MV_USB_SetTransferWays()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_USB_SetTransferWays </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nTransferWays</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置U3V的传输通道个数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">nTransferWays</td><td>[IN] 传输通道个数，范围：1-10 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>可根据PC的性能、设备出图帧率、图像大小和内存使用率等因素对该参数进行调节。但不同的PC和不同的USB扩展卡存在不同的兼容性。 </dd></dl>

</div>
</div>
<a id="gaabf01d24514b206389b26665b54e0828"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaabf01d24514b206389b26665b54e0828">&#9670;&nbsp;</a></span>MV_USB_GetTransferWays()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_USB_GetTransferWays </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int *&#160;</td>
          <td class="paramname"><em>pnTransferWays</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取U3V的传输通道个数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">pnTransferWays</td><td>[IN][OUT] 传输通道个数指针 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口用于获取当前的U3V异步取流节点个数，2000W设备的MONO8默认为3个，YUV为默认2个，RGB为默认1个，其它情况默认8个节点。 </dd></dl>

</div>
</div>
<a id="ga1f3835e65ca878f82c084f626c228802"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1f3835e65ca878f82c084f626c228802">&#9670;&nbsp;</a></span>MV_USB_RegisterStreamExceptionCallBack()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_USB_RegisterStreamExceptionCallBack </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN &#160;</td>
          <td class="paramname"><em>void</em>__stdcall *cbException)(MV_CC_STREAM_EXCEPTION_TYPE enExceptionType, void *pUser, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>pUser</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>注册流异常消息回调，在打开设备之后调用（只支持U3V相机，不支持GenTL设备） </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">cbException</td><td>[IN] 异常回调函数指针 </td></tr>
    <tr><td class="paramname">pUser</td><td>[IN] 用户自定义变量 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>

</div>
</div>
<a id="ga54f98a479ef686d954022805d45af167"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga54f98a479ef686d954022805d45af167">&#9670;&nbsp;</a></span>MV_USB_SetEventNodeNum()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_USB_SetEventNodeNum </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nEventNodeNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置U3V的事件缓存节点个数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">nEventNodeNum</td><td>[IN] 事件缓存节点个数，范围：1-64 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口用于设置当前的U3V事件缓存节点个数，默认情况下为5个。 </dd></dl>

</div>
</div>
<a id="ga1e182cad3106424568fb2c0d9ad10a9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1e182cad3106424568fb2c0d9ad10a9d">&#9670;&nbsp;</a></span>MV_USB_SetSyncTimeOut()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_USB_SetSyncTimeOut </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN unsigned int&#160;</td>
          <td class="paramname"><em>nMills</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置U3V相机同步读写超时时间，范围为1000~UINT，默认1000 ms </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">nMills</td><td>[IN] 设置同步读写超时时间，默认时间为1000ms(1s) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>增加设置同步读取时间接口，兼容部分相机配置参数很慢，超过1s的情况。 </dd></dl>

</div>
</div>
<a id="ga1ea550935d6f4d779857ecf0ecd9caa7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1ea550935d6f4d779857ecf0ecd9caa7">&#9670;&nbsp;</a></span>MV_USB_GetSyncTimeOut()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MV_CAMCTRL_API int __stdcall MV_USB_GetSyncTimeOut </td>
          <td>(</td>
          <td class="paramtype">IN void *&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN OUT unsigned int *&#160;</td>
          <td class="paramname"><em>pnMills</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取U3V相机同步读写超时时间 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>[IN] 设备句柄 </td></tr>
    <tr><td class="paramname">pnMills</td><td>[IN][OUT] 获取的超时时间(ms) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">MV_OK</a> ；失败，返回<a class="el" href="_xE9_x94_x99_xE8_xAF_xAF_xE7_xA0_x81.html">错误码</a> </dd></dl>
<dl class="section note"><dt>注解</dt><dd>该接口用于获取当前的U3V同步读写超时时间大小，默认1000ms。 </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<div class="footer" style="text-align: right;">
	<hr/>
	<small></small>
</div>
<script>
	// 当前选中的菜单
	var currentMenuItem = document.querySelector('.tablist > li.current > a')
	if (currentMenuItem) { // 子菜单情况
	  window.parent.postMessage({
		navHref: currentMenuItem.href
	  }, '*')
	} else {
	  window.parent.postMessage({
		url: window.location.href
	  }, '*')
	}
  </script>
</body>
</html>